package com.ruoyi.customerSample.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 来样登记明细信息对象 sample_send_details
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
@ApiModel("来样登记明细信息对象")
public class SampleSendDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 来样登记id */
    @ApiModelProperty(value = "来样登记id")
    private String sampleId;

    /** 送检单位 */
    @Excel(name = "送检单位")
    @ApiModelProperty(value = "送检单位")
    private String client;

    /** 收样日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收样日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "收样日期")
    private Date reDate;

    /** 来样编号 */
    @Excel(name = "来样编号")
    @ApiModelProperty(value = "来样编号")
    private String reNum;

    /** 样品唯一性编号 */
    @Excel(name = "样品唯一性编号")
    @ApiModelProperty(value = "样品唯一性编号")
    private String sampleNum;

    /** 样品名称 */
    @ApiModelProperty(value = "样品名称")
    private String sampleName;

    /** 规格型号 */
    @Excel(name = "规格型号")
    @ApiModelProperty(value = "规格型号")
    private String model;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    @ApiModelProperty(value = "出厂编号")
    private String noofpro;

    /** 出厂日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "出厂日期")
    private Date noofDate;

    /** 仪器生产单位 */
    @Excel(name = "仪器生产单位")
    @ApiModelProperty(value = "仪器生产单位")
    private String manufacturer;

    /** 防爆证号 */
    @Excel(name = "防爆证号")
    @ApiModelProperty(value = "防爆证号")
    private String eproofNum;

    /** 安全证号 */
    @Excel(name = "安全证号")
    @ApiModelProperty(value = "安全证号")
    private String safetyNum;

    /** 合格台数 */
    @Excel(name = "合格台数")
    @ApiModelProperty(value = "合格台数")
    private String qState;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remarks;

    /** 出厂日期 */
    @Excel(name = "出厂日期", width = 30)
    @ApiModelProperty(value = "出厂日期")
    private String dataofpro;

    /** 送检单位地址 */
    @Excel(name = "送检单位地址")
    @ApiModelProperty(value = "送检单位地址")
    private String clientAdress;

    /** 样品状态 */
    @Excel(name = "样品状态", readConverterExp = "1=完好,2=外壳破损,3=良好")
    @ApiModelProperty(value = "样品状态")
    private String reState;

    /** 收样人 */
    @Excel(name = "收样人")
    @ApiModelProperty(value = "收样人")
    private String sampleReceiver;

    /** 送样人 */
    @Excel(name = "送样人")
    @ApiModelProperty(value = "送样人")
    private String sampleSender;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phonenum;

    /** 序号 */
    @ApiModelProperty(value = "序号")
    private String sort;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setSampleId(String sampleId) 
    {
        this.sampleId = sampleId;
    }

    public String getSampleId() 
    {
        return sampleId;
    }
    public void setClient(String client) 
    {
        this.client = client;
    }

    public String getClient() 
    {
        return client;
    }
    public void setReDate(Date reDate) 
    {
        this.reDate = reDate;
    }

    public Date getReDate() 
    {
        return reDate;
    }
    public void setReNum(String reNum) 
    {
        this.reNum = reNum;
    }

    public String getReNum() 
    {
        return reNum;
    }
    public void setSampleNum(String sampleNum) 
    {
        this.sampleNum = sampleNum;
    }

    public String getSampleNum() 
    {
        return sampleNum;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setNoofpro(String noofpro) 
    {
        this.noofpro = noofpro;
    }

    public String getNoofpro() 
    {
        return noofpro;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setEproofNum(String eproofNum) 
    {
        this.eproofNum = eproofNum;
    }

    public String getEproofNum() 
    {
        return eproofNum;
    }
    public void setSafetyNum(String safetyNum) 
    {
        this.safetyNum = safetyNum;
    }

    public String getSafetyNum() 
    {
        return safetyNum;
    }
    public void setqState(String qState) 
    {
        this.qState = qState;
    }

    public String getqState() 
    {
        return qState;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setDataofpro(String dataofpro)
    {
        this.dataofpro = dataofpro;
    }

    public String getDataofpro()
    {
        return dataofpro;
    }
    public void setClientAdress(String clientAdress) 
    {
        this.clientAdress = clientAdress;
    }

    public String getClientAdress() 
    {
        return clientAdress;
    }
    public void setReState(String reState) 
    {
        this.reState = reState;
    }

    public String getReState() 
    {
        return reState;
    }

    public String getSampleName() {
        return sampleName;
    }

    public void setSampleName(String sampleName) {
        this.sampleName = sampleName;
    }

    public String getSampleReceiver() {
        return sampleReceiver;
    }

    public void setSampleReceiver(String sampleReceiver) {
        this.sampleReceiver = sampleReceiver;
    }

    public String getSampleSender() {
        return sampleSender;
    }

    public void setSampleSender(String sampleSender) {
        this.sampleSender = sampleSender;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    public Date getNoofDate() {
        return noofDate;
    }

    public void setNoofDate(Date noofDate) {
        this.noofDate = noofDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sampleId", getSampleId())
            .append("client", getClient())
            .append("reDate", getReDate())
            .append("reNum", getReNum())
            .append("sampleNum", getSampleNum())
            .append("model", getModel())
            .append("noofpro", getNoofpro())
            .append("manufacturer", getManufacturer())
            .append("eproofNum", getEproofNum())
            .append("safetyNum", getSafetyNum())
            .append("qState", getqState())
            .append("remarks", getRemarks())
            .append("dataofpro", getDataofpro())
            .append("clientAdress", getClientAdress())
            .append("reState", getReState())
            .toString();
    }
}
